package com.ghck.server.service;

import java.util.Map;

import com.ghck.server.model.request.GenerateVerCode;
import com.ghck.server.model.request.Login;
import com.ghck.server.model.request.Registration;

public interface AccountService {
	
	/**
	 * 获取短信验证码
	 */
	public Integer generateVerificationCode(GenerateVerCode generateVerCode);
	
	/**
	 * 注册
	 */
	public Map<String, Object> register(Registration registration);

	/**
	 * 登录
	 */
	public Map<String, Object> login(Login login);
	
	
}
